Import('env')
Import('host')

if host == "real":
    envobjs = SConscript("real/SConscript")
else:
    envobjs = SConscript("pc/SConscript")

if host != "real":
    funcs = env.Object(['clear.c', 'teximage.c', 'readpixels.c',
                    'clearcolor.c', 'texcoord.c', 'scale.c',
                    'enable.c', 'disable.c', 'depthbuffer.c',
                    'matrix.c', 'texenv.c', 'buffers.c',
                    'begin.c', 'blendfunc.c', 'translate.c',
                    'end.c', 'shademodel.c', 'get.c', 'frustum.c',
                    'vertex.c', 'polygonmode.c', 'hint.c',
                    'rotate.c', 'viewport.c', 'ortho.c',
                    'color.c', 'alphafunc.c', 'bindtexture.c',
                    'state.c', 'texparameter.c', 'pointsize.c',
                    'poly.c', 'cullface.c', 'linewidth.c',
                    'flush.c', 'getstring.c', 'normal.c',
                    'display_lists.c', 'light.c', 'material.c'])
else:
    funcs = []

objs = envobjs + funcs

Return('objs')
